<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>userlogin</title>
</head>

<body>
<script type="text/javascript" src="/js/validation-framework.js"></script>
<p>使用JSValidation验证框架</p>
 <p>请输入用户名和密码：</p>
<div id="error" style="color:red;font-weight;blod"></div>
 <form id="form1" name="form1" method="post" action="/test/LoginForm" onsubmit="return doValidate(this)">
  
   <table width="316" border="0">
     <tr>
       <td width="105">用户名：</td>
       <td width="197"><input name="username" type="text" id="username" size="20" maxlength="20" /></td>
     </tr>
     <tr>
       <td>密　码：</td>
       <td><input name="password" type="password" id="password" value="" size="20" /></td>
     </tr>
     <tr>
       <td><input type="submit" name="submit" id="submit" value="提交" /></td>
       <td><input type="reset" name="reset" id="reset" value="重置" /></td>
     </tr>
   </table>

</form>

</body>
</html>
